package com.ruoyi.jhc.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.jhc.mapper.JhcBlqtMapper;
import com.ruoyi.jhc.domain.JhcBlqt;
import com.ruoyi.jhc.service.IJhcBlqtService;

/**
 * 宝龙球团录入Service业务层处理
 * 
 * @author lgx
 * @date 2023-03-30
 */
@Service
public class JhcBlqtServiceImpl implements IJhcBlqtService 
{
    @Autowired
    private JhcBlqtMapper jhcBlqtMapper;

    /**
     * 查询宝龙球团录入
     * 
     * @param cDate 宝龙球团录入主键
     * @return 宝龙球团录入
     */
    @Override
    public JhcBlqt selectJhcBlqtByCDate(String cDate)
    {
        return jhcBlqtMapper.selectJhcBlqtByCDate(cDate);
    }

    /**
     * 查询宝龙球团录入列表
     * 
     * @param jhcBlqt 宝龙球团录入
     * @return 宝龙球团录入
     */
    @Override
    public List<JhcBlqt> selectJhcBlqtList(JhcBlqt jhcBlqt)
    {
        return jhcBlqtMapper.selectJhcBlqtList(jhcBlqt);
    }

    /**
     * 新增宝龙球团录入
     * 
     * @param jhcBlqt 宝龙球团录入
     * @return 结果
     */
    @Override
    public int insertJhcBlqt(JhcBlqt jhcBlqt)
    {
        return jhcBlqtMapper.insertJhcBlqt(jhcBlqt);
    }

    /**
     * 修改宝龙球团录入
     * 
     * @param jhcBlqt 宝龙球团录入
     * @return 结果
     */
    @Override
    public int updateJhcBlqt(JhcBlqt jhcBlqt)
    {
        return jhcBlqtMapper.updateJhcBlqt(jhcBlqt);
    }

    /**
     * 批量删除宝龙球团录入
     * 
     * @param cDates 需要删除的宝龙球团录入主键
     * @return 结果
     */
    @Override
    public int deleteJhcBlqtByCDates(String[] cDates)
    {
        return jhcBlqtMapper.deleteJhcBlqtByCDates(cDates);
    }

    /**
     * 删除宝龙球团录入信息
     * 
     * @param cDate 宝龙球团录入主键
     * @return 结果
     */
    @Override
    public int deleteJhcBlqtByCDate(String cDate)
    {
        return jhcBlqtMapper.deleteJhcBlqtByCDate(cDate);
    }
}
